package com.module2;

//将通话套餐类和上网套餐类中相同的特征和行为提取出来组成抽象套餐类。
public abstract class Q3_AbstractPlan {
    double monthCost;
    public Q3_AbstractPlan() {
        System.out.println("调用Q3_AbstractPlan抽象套餐类");
    }
    public void show() {
        System.out.println("每月花费为"+monthCost);
    }
}
